<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NVTX C API Reference: nvtxMemRegionsResizeBatch_v1 Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">NVTX C API Reference<span id="projectnumber">&#160;v3</span>
   </div>
   <div id="projectbrief">NVIDIA Tools Extension Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">nvtxMemRegionsResizeBatch_v1 Struct Reference<div class="ingroups"><a class="el" href="group___m_e_m_o_r_y.html">Memory</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Register a region of memory inside of a heap.  
 <a href="structnvtx_mem_regions_resize_batch__v1.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6439a683eb24434f9ab94231ce97f733" id="r_a6439a683eb24434f9ab94231ce97f733"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#a6439a683eb24434f9ab94231ce97f733">extCompatID</a></td></tr>
<tr class="separator:a6439a683eb24434f9ab94231ce97f733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53148b85d45209df7fa4cc7f8cbd0631" id="r_a53148b85d45209df7fa4cc7f8cbd0631"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#a53148b85d45209df7fa4cc7f8cbd0631">structSize</a></td></tr>
<tr class="separator:a53148b85d45209df7fa4cc7f8cbd0631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec867d76fa8f4d0e0b63e629b8464316" id="r_aec867d76fa8f4d0e0b63e629b8464316"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#aec867d76fa8f4d0e0b63e629b8464316">regionType</a></td></tr>
<tr class="separator:aec867d76fa8f4d0e0b63e629b8464316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa2cc5cf5443536fb081f038f9c9f4fb" id="r_aaa2cc5cf5443536fb081f038f9c9f4fb"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#aaa2cc5cf5443536fb081f038f9c9f4fb">regionDescCount</a></td></tr>
<tr class="separator:aaa2cc5cf5443536fb081f038f9c9f4fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a983006ae7c2241bfff1a5c3c275dedf6" id="r_a983006ae7c2241bfff1a5c3c275dedf6"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#a983006ae7c2241bfff1a5c3c275dedf6">regionDescElementSize</a></td></tr>
<tr class="separator:a983006ae7c2241bfff1a5c3c275dedf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474fa8b300fd39de85dc1e293b8d09fb" id="r_a474fa8b300fd39de85dc1e293b8d09fb"><td class="memItemLeft" align="right" valign="top">void const  *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnvtx_mem_regions_resize_batch__v1.html#a474fa8b300fd39de85dc1e293b8d09fb">regionDescElements</a></td></tr>
<tr class="separator:a474fa8b300fd39de85dc1e293b8d09fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Register a region of memory inside of a heap. </p>
<p>The heap refers the the heap within which the region resides. This can be from nvtxMemHeapRegister, NVTX_MEM_HEAP_HANDLE_PROCESS_WIDE, or one provided from other extension API.</p>
<p>The regionType arg will define which type is used in regionDescArray. The most commonly used type is NVTX_MEM_TYPE_VIRTUAL_ADDRESS.</p>
<p>The regionCount arg is how many element are in regionDescArray and regionHandleArrayOut.</p>
<p>The regionHandleArrayOut arg points to an array where the tool will provide region handles. If a pointer if provided, it is expected to have regionCount elements. This pointer can be NULL if regionType is NVTX_MEM_TYPE_VIRTUAL_ADDRESS. In this case, the user can use the pointer to the virtual memory to reference the region in other related functions which accept <a class="el" href="unionnvtx_mem_region_ref__t.html" title="A reference to a memory region (by pointer or handle). Which member of the union will be determined b...">nvtxMemRegionRef_t</a>. </p>

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00390">390</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a6439a683eb24434f9ab94231ce97f733" name="a6439a683eb24434f9ab94231ce97f733"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6439a683eb24434f9ab94231ce97f733">&#9670;&#160;</a></span>extCompatID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t nvtxMemRegionsResizeBatch_v1::extCompatID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00392">392</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<a id="aaa2cc5cf5443536fb081f038f9c9f4fb" name="aaa2cc5cf5443536fb081f038f9c9f4fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa2cc5cf5443536fb081f038f9c9f4fb">&#9670;&#160;</a></span>regionDescCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t nvtxMemRegionsResizeBatch_v1::regionDescCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00397">397</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<a id="a474fa8b300fd39de85dc1e293b8d09fb" name="a474fa8b300fd39de85dc1e293b8d09fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a474fa8b300fd39de85dc1e293b8d09fb">&#9670;&#160;</a></span>regionDescElements</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void const* nvtxMemRegionsResizeBatch_v1::regionDescElements</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00399">399</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<a id="a983006ae7c2241bfff1a5c3c275dedf6" name="a983006ae7c2241bfff1a5c3c275dedf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a983006ae7c2241bfff1a5c3c275dedf6">&#9670;&#160;</a></span>regionDescElementSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t nvtxMemRegionsResizeBatch_v1::regionDescElementSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00398">398</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<a id="aec867d76fa8f4d0e0b63e629b8464316" name="aec867d76fa8f4d0e0b63e629b8464316"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec867d76fa8f4d0e0b63e629b8464316">&#9670;&#160;</a></span>regionType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nvtxMemRegionsResizeBatch_v1::regionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00395">395</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<a id="a53148b85d45209df7fa4cc7f8cbd0631" name="a53148b85d45209df7fa4cc7f8cbd0631"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53148b85d45209df7fa4cc7f8cbd0631">&#9670;&#160;</a></span>structSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t nvtxMemRegionsResizeBatch_v1::structSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="nv_tools_ext_mem_8h_source.html#l00393">393</a> of file <a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="nv_tools_ext_mem_8h_source.html">nvToolsExtMem.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
